﻿<%@ Page Language="C#" MasterPageFile="~/default-nomenu.Master" AutoEventWireup="true" CodeBehind="especialistacadastro.aspx.cs" Inherits="CeA.Reports.Atendimento.Web.admin.especialistacadastro" Title="Cadastro de Especialista" %>
<%@ PreviousPageType TypeName="CeA.Reports.Atendimento.Web.admin.especialista" %>
<%@ Register src="../inc/WebControls/PesquisaUsuario.ascx" tagname="PesquisaUsuario" tagprefix="uc1" %>
<%@ Register src="../inc/WebControls/MessageBox.ascx" tagname="MessageBox" tagprefix="uc2" %>


<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
  <link rel="Stylesheet" href="/css/popup.css" type="text/css" />
</asp:Content>

<asp:Content ID="body" ContentPlaceHolderID="BodyContentPlaceholder" runat="server">
  <h1>Cadastro de Especialista</h1>

  <h2>Dados do Especilista</h2>
  <table cellpadding="1px" cellspacing="1px">
    <tr>
      <td style="width:80px;"><label for="txtNome"  class="label">Nome</label></td>      
      <td>
        <asp:TextBox ID="txtNome" runat="server" CssClass="text-field" MaxLength="128" Width="225px" />*
        <asp:RequiredFieldValidator ID="rfvNome" runat="server" ControlToValidate="txtNome" Text="(obrigatório)" EnableClientScript="true"/> 
      </td>
    </tr>
    <tr>
      <td><label for="txtSigla" class="label">Sigla</label></td>      
      <td>
        <asp:TextBox ID="txtSigla" runat="server" CssClass="text-field" MaxLength="256" Width="225px"/>*
        <asp:RequiredFieldValidator ID="rfvSigla" runat="server" ControlToValidate="txtSigla" Text="(obrigatório)" EnableClientScript="true"/>
      </td>
    </tr>
     <tr>
      <td><label for="txtUsuario" class="label">Usuario</label></td>      
      <td>
        <asp:HiddenField ID="hdnUsuarioId" runat="server" Value="" />
        <asp:TextBox ID="txtUsuario" runat="server" CssClass="text-field" MaxLength="256"  Width="450px" Enabled="false"/>
        <asp:Button ID="cmdPesquisarUsuario" runat="server" CssClass="search-buttom" CausesValidation="false" />*
        <asp:RequiredFieldValidator ID="rfvUsuario" runat="server" ControlToValidate="txtUsuario" Text="(obrigatório)" EnableClientScript="true"/>
      </td>
    </tr>
    
    <tr>
      <td colspan="2">
        <span class="form-note">* Campos Obrigatórios</span>
      </td>
    </tr>
  </table>
  <div class="break">
    <asp:Button ID="cmdVoltar" runat="server" Text="Voltar" CssClass="form-buttom" CausesValidation="false" />
    <asp:Button ID="cmdSalvar" runat="server" Text="Salvar" CssClass="form-buttom" />
  </div>

  <uc1:PesquisaUsuario ID="PesquisaUsuario" runat="server" />
  <uc2:MessageBox ID="MessageBox" runat="server" />

</asp:Content>
